using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class MdMaterialTable : TableInfo
{
public const string C_TABLENAME = "Md_Material";

public const string C_MATERIALID = "MATERIALID";

public const string C_MATERIALSMALLTYPEID = "MATERIALSMALLTYPEID";

public const string C_MATERIALTYPEID = "MATERIALTYPEID";

public const string C_MATERIALNAME = "MATERIALNAME";

public const string C_SPECIFICATIONS = "SPECIFICATIONS";

public const string C_ISDIRECT = "ISDIRECT";

public const string C_LONG = "LONG";

public const string C_WIDTH = "WIDTH";

public const string C_HEIGHT = "HEIGHT";

public const string C_OUTSIDE = "OUTSIDE";

public const string C_INSIDE = "INSIDE";

public const string C_UNIT = "UNIT";

public const string C_PRICE = "PRICE";

public const string C_SAFESTOCK = "SAFESTOCK";

public const string C_METERWEIGHT = "METERWEIGHT";

public const string C_MMNUMBER = "MMNUMBER";

public const string C_ARRIVALPERIOD = "ARRIVALPERIOD";

public const string C_MINORDERWEIGHT = "MINORDERWEIGHT";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public MdMaterialTable()
{
_tableName = "Md_Material";
}

protected static MdMaterialTable _current;
public static MdMaterialTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new MdMaterialTable();

_current.Add(C_MATERIALID, new ColumnInfo(C_MATERIALID, "", true, typeof(String)));

_current.Add(C_MATERIALSMALLTYPEID, new ColumnInfo(C_MATERIALSMALLTYPEID, "", false, typeof(String)));

_current.Add(C_MATERIALTYPEID, new ColumnInfo(C_MATERIALTYPEID, "", false, typeof(String)));

_current.Add(C_MATERIALNAME, new ColumnInfo(C_MATERIALNAME, "", false, typeof(String)));

_current.Add(C_SPECIFICATIONS, new ColumnInfo(C_SPECIFICATIONS, "", false, typeof(String)));

_current.Add(C_ISDIRECT, new ColumnInfo(C_ISDIRECT, "", false, typeof(String)));

_current.Add(C_LONG, new ColumnInfo(C_LONG, "", false, typeof(Decimal?)));

_current.Add(C_WIDTH, new ColumnInfo(C_WIDTH, "", false, typeof(Decimal?)));

_current.Add(C_HEIGHT, new ColumnInfo(C_HEIGHT, "", false, typeof(Decimal?)));

_current.Add(C_OUTSIDE, new ColumnInfo(C_OUTSIDE, "", false, typeof(Decimal?)));

_current.Add(C_INSIDE, new ColumnInfo(C_INSIDE, "", false, typeof(Decimal?)));

_current.Add(C_UNIT, new ColumnInfo(C_UNIT, "", false, typeof(String)));

_current.Add(C_PRICE, new ColumnInfo(C_PRICE, "", false, typeof(Decimal?)));

_current.Add(C_SAFESTOCK, new ColumnInfo(C_SAFESTOCK, "", false, typeof(Decimal?)));

_current.Add(C_METERWEIGHT, new ColumnInfo(C_METERWEIGHT, "", false, typeof(Decimal?)));

_current.Add(C_MMNUMBER, new ColumnInfo(C_MMNUMBER, "", false, typeof(Decimal?)));

_current.Add(C_ARRIVALPERIOD, new ColumnInfo(C_ARRIVALPERIOD, "", false, typeof(Decimal?)));

_current.Add(C_MINORDERWEIGHT, new ColumnInfo(C_MINORDERWEIGHT, "", false, typeof(Decimal?)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

}

public ColumnInfo MATERIALID
{
get { return this[C_MATERIALID]; }
}

public ColumnInfo MATERIALSMALLTYPEID
{
get { return this[C_MATERIALSMALLTYPEID]; }
}

public ColumnInfo MATERIALTYPEID
{
get { return this[C_MATERIALTYPEID]; }
}

public ColumnInfo MATERIALNAME
{
get { return this[C_MATERIALNAME]; }
}

public ColumnInfo SPECIFICATIONS
{
get { return this[C_SPECIFICATIONS]; }
}

public ColumnInfo ISDIRECT
{
get { return this[C_ISDIRECT]; }
}

public ColumnInfo LONG
{
get { return this[C_LONG]; }
}

public ColumnInfo WIDTH
{
get { return this[C_WIDTH]; }
}

public ColumnInfo HEIGHT
{
get { return this[C_HEIGHT]; }
}

public ColumnInfo OUTSIDE
{
get { return this[C_OUTSIDE]; }
}

public ColumnInfo INSIDE
{
get { return this[C_INSIDE]; }
}

public ColumnInfo UNIT
{
get { return this[C_UNIT]; }
}

public ColumnInfo PRICE
{
get { return this[C_PRICE]; }
}

public ColumnInfo SAFESTOCK
{
get { return this[C_SAFESTOCK]; }
}

public ColumnInfo METERWEIGHT
{
get { return this[C_METERWEIGHT]; }
}

public ColumnInfo MMNUMBER
{
get { return this[C_MMNUMBER]; }
}

public ColumnInfo ARRIVALPERIOD
{
get { return this[C_ARRIVALPERIOD]; }
}

public ColumnInfo MINORDERWEIGHT
{
get { return this[C_MINORDERWEIGHT]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

}
}